import request from '@/utils/request'

// 查询统计与报列表
export function listStatisticsofwtd(query) {
  return request({
    url: '/system/statisticsofwtd/list',
    method: 'get',
    params: query
  })
}

// 查询统计与报详细
export function getStatisticsofwtd(statId) {
  return request({
    url: '/system/statisticsofwtd/' + statId,
    method: 'get'
  })
}

// 新增统计与报
export function addStatisticsofwtd(data) {
  return request({
    url: '/system/statisticsofwtd',
    method: 'post',
    data: data
  })
}

// 修改统计与报
export function updateStatisticsofwtd(data) {
  return request({
    url: '/system/statisticsofwtd',
    method: 'put',
    data: data
  })
}

// 删除统计与报
export function delStatisticsofwtd(statId) {
  return request({
    url: '/system/statisticsofwtd/' + statId,
    method: 'delete'
  })
}
